package com.jzo2o.foundations.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum FoundationHotStatusEnum {
    NOT_HOT(0, "非热门"),
    HOT(1, "热门");

    private int status;
    private String description;

    public boolean equals(Integer status) {
        return this.status == status;
    }

    public boolean equals(FoundationHotStatusEnum foundationHotStatusEnum) {
        return foundationHotStatusEnum != null && foundationHotStatusEnum.status == this.getStatus();
    }
}